/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Price APIs
 * 价格计算API接口
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Billing.Model;

namespace  JDCloudSDK.Billing.Apis
{

    /// <summary>
    ///  查询计费价格信息
    /// </summary>
    public class CalculateTotalPriceResult : JdcloudResult
    {
        ///<summary>
        /// 订单折扣前总价
        ///</summary>
        public   double? TotalPrice{ get; set; }
        ///<summary>
        /// 订单折扣前总价4位
        ///</summary>
        public   double? TotalPriceScale4{ get; set; }
        ///<summary>
        /// 折扣后订单价格
        ///</summary>
        public   double? DiscountedTotalPrice{ get; set; }
        ///<summary>
        /// 总折扣金额
        ///</summary>
        public   double? TotalDiscount{ get; set; }
        ///<summary>
        /// 计算完价格后的详细订单列表
        ///</summary>
        public List<OrderPriceDetail> List{ get; set; }

        ///<summary>
        /// 订单原价 包年时 一年原价为12个月价格，totalPrice为10个月价格
        ///</summary>
        public   double? TotalOriginalPrice{ get; set; }
        ///<summary>
        /// 参与优惠的明细
        ///</summary>
        public   string FavorableInfos{ get; set; }
        ///<summary>
        /// 备注
        ///</summary>
        public   string Remark{ get; set; }
        ///<summary>
        /// 各订单单价总和
        ///</summary>
        public   double? TotalUnitPrice{ get; set; }
    }
}